from typing import List

class Solution:
    """
    回溯
    """
    def canPartition(self, nums: List[int]) -> bool:
        def helper():
            pass